Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Let's not allow to specify
expect(...).not_to be_able_to(:action_a, :action_b)
for multiple actions. This lead in the past to too many open issues. Here are some:be_able_to
matcher #602Here is a recap: Marc is allowed to eat apples but not bananas.
but a reader might say "I expect Mark to not be able to eat the 🍎 !", why is he able to? This caused quite some confusion and nasty bugs. From now on you have to split the one above into: